@charset "UTF-8";
body, html {
  height: 100%;
  @media print {
  min-width: 1020px;
  }
}
#all_wrap_{
  height:100%;
  overflow-y:auto;
}
.content {
  position: relative;
  min-height: 100%;
}

.content_left {
  position:absolute;
  z-index: 2;
  padding-top: 25px;
  width: 100px;
  height: 100%;
  text-align: center;
  background: #333;
  @media (min-width: 1200px) {
    width: 230px;
  }
  > img {
    width: 65px;
    display: block;
    margin-left: 18px;
    border-radius: 5px;
    @media (min-width: 1200px) {
      margin-left: 49px;
      width: 117px;
    }
  }
  > ul {
    padding-top: 30px;
    background: #333;
    padding-bottom: 30px;
    >a{
      >li {
        padding-top: 16px;
        padding-bottom: 16px;
        overflow: hidden;
        font-size: 14px;
        padding-left: 5px;
        @media (min-width: 1200px) {
          font-size: 16px;
          padding-left: 50px;
        }
        color: #eee;
        cursor: pointer;
        &:hover {
          color: #fff;
          background-color: #222;
        }
        > span {
          float: left;
          padding-right: 10px;
        }
        > p {
          float: left;
        }
      }
    }

  }
}

.content_right {
  padding-bottom: 100px;
  width: 100%;
  padding-left: 100px;
  @media (min-width: 1200px) {
    padding-left: 230px;
  }
  top: 0;
  z-index: 1;
  > .right-top {
    height: 54px;
    background: #eee;
    line-height: 54px;
    > b {
      font-size: 20px;
      padding: 14px;
      cursor: pointer;
      &:hover {
        color: #666;
      }
    }
    > div {
      &:hover{
        background-color: #ccc;
      }
      float: right;
      padding-right: 17px;
      padding-left: 10px;
      cursor: pointer;
      position: relative;
      > img {
        border-radius: 50%;
        width: 40px;
        height: 40px;
        float: left;
        margin-top: 7px;
      }
      > p {
        float: left;
        margin-left: 10px;
      }
      > b {
        float: left;
        margin-top: 20px;
        margin-left: 5px;
        color: #CAE;
      }
      >div{
        display: none;
        position: absolute;
        z-index: 100;
        width: 209px;
        height: 33px;
        right: 0;
        top: 54px;
        background-color: #333;
        text-align: center;
        line-height: 33px;
        color: #fff;
        border-bottom-left-radius: 5px;
        border-bottom-right-radius: 5px;
        &:hover{
          background-color: #444;
        }
        >span{
          float: left;
          margin-left: 22px;
        }
        >b{
          float: right;;
          margin-right: 19px;
          margin-top:8px;
        }
      }
    }
  }

}

.add_goods {
  padding-top: 20px;
  > div {
    > .add_goods_header {
      padding-bottom: 15px;
      border-bottom: 1px solid #ddd;
    }
    > .add_goods_body {
      > div {
        margin-top: 25px;
      }
    }
  }

}

.hint {
  display: none;
  position: fixed;
  font-weight: 900;
  top: 0;
  left: 50%;
  width: 80%;
  z-index: 999;
  background: rgba(100, 100, 100, 0.4);
  margin-left: -40%;
  text-align: center;
  color: #f10;
  padding: 15px;
  font-size: 25px;
}

.ishidden {
  display: none;
}

.iskuozhang {
  padding-left: 0px;
}
#main_img{
  margin-top:10px;
  >img{
    max-width: 100%;
  }
  >div{
    height:120px;
    width:120px;
    >img{
      transition:0.5s;
      width: 100px;
      height: 100px;
      margin-right:10px;
      margin-top: 10px;
      border-radius: 5px;
    }
    &:hover{
      border-radius: 5px;
      border: 1px solid #111;
      box-shadow: 1px 1px 5px 1px #111;
      >img{
        width: 118px;
        height: 118px;
        margin-right: 0px;
        margin-top: 0px;
      }
    }
    &:active{
      border: 2px solid #f00;
    }
  }
}
#other_img{
  margin-top:10px;
  >div{
    position: relative;
    float: left;
    margin-right:10px;
    height:83px;
    width:125px;
    >img{
      transition:0.5s;
      width: 105px;
      height: 70px;
      margin-right: 5px;
      margin-top: 5px;
      border-radius: 5px;
    }
    >b{
      display: none;
    }
    >span{
      position: absolute;
      width: 15px;
      height: 15px;
      background-color: rgba(255,17,0,0.3);
      text-align: center;
      border-radius: 2px;
      line-height: 15px;
      color: #fff;
      right:2px;
      top:2px;
      &:hover{
        background-color: rgba(255,0,0,0.65);
        cursor: pointer;
      }
      &:active{
        background-color: rgba(255,0,0,1);
      }
    }
    &:hover{
      border-radius: 5px;
      border: 1px solid #111;
      box-shadow: 1px 1px 5px 1px #111;
      >img{
        width: 123px;
        height: 81px;
        margin-right: 0px;
        margin-top: 0px;
      }
    }
    &:active{
      border: 2px solid #f00;
    }
  }

}
#detial_img{
  margin-top:10px;
  >div{
    position: relative;
    float: left;
    margin-right:10px;
    height: 99px;
    width:125px;
    >p{
      margin: 3px;
      text-align: center;
    }
    >img{
      transition:0.5s;
      width: 105px;
      height: 70px;
      margin-right: 5px;
      margin-top: 5px;
      border-radius: 5px;
    }
    >b{
      display: none;
    }
    >span{
      position: absolute;
      width: 15px;
      height: 15px;
      background-color: rgba(255,17,0,0.3);
      text-align: center;
      border-radius: 2px;
      line-height: 15px;
      color: #fff;
      right:2px;
      top:2px;
      &:hover{
        background-color: rgba(255,0,0,0.65);
        cursor: pointer;
      }
      &:active{
        background-color: rgba(255,0,0,1);
      }
    }
    >i{
      position: absolute;
      width: 20px;
      height: 20px;
      background-color: rgba(2,0,0,0.3);
      text-align: center;
      border-radius: 2px;
      line-height: 20px;
      color: #fff;
      right: 2px;
      top: 77px;
      &:hover{
        background-color: rgba(2,0,0,0.9);
      }
    }
    &:hover{
      border-radius: 5px;
      border: 1px solid #111;
      box-shadow: 1px 1px 5px 1px #111;
      >img{
        width: 123px;
        height: 81px;
        margin-right: 0px;
        margin-top: 0px;
      }
    }
    &:active{
      border: 2px solid #f00;
    }
  }

}
.img_wrap{
  > img {
    width: 200px;
    height: 130px;
    float: left;
    margin-right: 10px;
    margin-top: 10px;
    border-radius: 5px;
  }

}
.img_wrap_main,.img_wrap_detial{
  > img {
    width: 130px;
    height: 130px;
    float: left;
    margin-right: 10px;
    margin-top: 10px;
    border-radius: 5px;
  }

}

.loading {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  min-height: 980px;
  background-color: rgba(200, 200, 200, 0.4);
  z-index: 11;
  > img {
    width: 100px;
    height: 100px;
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -50px;
    margin-top: -100px;
  }
}

.dropdown-menu {
  > li {
    position: relative;

    > b {
      position: absolute;
      right: 10px;
      width: 18px;
      height: 18px;
      text-align: center;
      line-height: 15px;
      top: 0px;
      color: #fff;
      font-size: 12px;
      border: 1px solid #eee;
      border-radius: 50%;
      background-color: #d33;
      font-weight: 100;
      &:hover{
        width:20px ;
        height:20px;
        background-color: #ff4400;
      }
    }
  }
}
.qianggou_wrap{
  >.qianggou_header{
    overflow: hidden;
        >p{
          float: left;
          margin-top: 4px;
        }
    >input{
      float: left;
      margin-left: 8px;
    }
  }
  >.qianggou_body{
    margin-top:10px;
    display: none;
  }
}
.btn_hover{
  &:hover{
    background-color: #ccc;
  }
}
.add_class_wrap{
display: none;
}
.supplier_wrap{
  >div{
    margin-bottom: 10px;
    font-size: 12px;
    color:#f88;
  }
  >p{
    padding:5px;
    border:1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    float: left;
    margin-right: 30px;
    >span{
      float: left;
    }
    >.supplier_val{
      display: none;
    }
    >.supplier_index{
      position: relative;
      top:1px;
      font-weight: 900;
      color:#aaa;
      margin-right:5px;
    }
    >.supplier_name{
      color:#999;
      &:hover{
        background-color:rgb(240,240,240);
      }
    }
    >.supplier_remove{
      cursor: pointer;
      color:#999;
      margin-left: 5px;
      &:hover{
      color:#f10;
      }
    }
  }
}
.class_two{
   border-bottom: 1px solid #999;
  padding-bottom: 6px;
  padding-top: 6px;
}
.class_three{
   border-bottom: 1px solid #999;
  padding-bottom: 6px;
  padding-left: 30px;
  padding-top: 6px;
}